include @topdir@/build/settings

MODULE=caStore_svn
OBJS=caStore_svn.o

INCLUDES=$(SVN_INCLUDES) $(XML_INCLUDES) $(XSLT_INCLUDES)
LDFLAGS=$(APR_LDFLAGS) $(XML_LDFLAGS) $(XSLT_LDFLAGS) $(SVN_LDFLAGS) -lsvn_client-1
CFLAGS=$(APR_CFLAGS)

all:	lib

lib:  $(OBJS)
	$(MAKE_SOLIB)

test:	lib
	$(CC) -o store_test store_test.c $(CFLAGS) \
	      $(_INCLUDE) $(APR_INCLUDES) \
	      -L. -lcaStore $(LDFLAGS) \
	      $(RPATH)

clean:
	@rm -f *.so *.o
	@rm -f store_test
